
import static org.junit.Assert.assertEquals;

import org.junit.After;
import org.junit.Before;


public class Test {

	@org.junit.Test
	public void test() {
 		assertEquals("Error in add()!", 40320, Principal.factorial(8));
 		
		
	}
	@org.junit.Test
	public void test1() {
 		assertEquals("Error in add()!", 1, Principal.factorial(0));
 		
		
	}
	@org.junit.Test
	public void test2() {
 		assertEquals("Error in add()!", -1, Principal.factorial(-6));
 		
		
	}

}
